//============================================================================
// Name        : Registry.h
// Author      : lucmir@dcc.ufmg.br
// Description :
//============================================================================

#ifndef __REGISTRY_H__
#define __REGISTRY_H__

#include <stdio.h>
#include <string>
#include <iostream>


class Registry {

	unsigned int termId;
	unsigned int docId;
	unsigned int freq;

	public:

		Registry(unsigned int termId, unsigned int docId, unsigned int freq);
		~Registry();

		unsigned int getDocId() const;
		unsigned int getFreq() const;
		unsigned int getTermId() const;
		void setDocId(unsigned int docId);
		void setFreq(unsigned int freq);
		void setTermId(unsigned int termId);
		void print();

		bool operator<(const Registry &r) const;
		bool operator>(const Registry &r) const;

};


#endif
